package com.example.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 基本表
 * 设备信息表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Equipment {
    @TableId(value = "equipment_id",type = IdType.AUTO)
    private Long equipmentId;//设备编号
    private String equipmentType;//设备类型
    private String equipmentModel;//设备型号
    private String equipmentManufacturer;//设备厂商
    @JsonFormat(pattern = "yyyy-MM-dd")//填写时间
    private Date fillDate;
    private String operator;//操作人
    private Long deptId;//部门ID

}
